<%--
  Created by IntelliJ IDEA.
  User: honghao
  Date: 2017/2/26
  Time: 18:19
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>学生显示页</title>
</head>
<body>
    <table align="center" border="1">
        <tr>
            <td>编号</td>
            <td>姓名</td>
            <td>班级</td>
            <td>地址</td>
            <td>电话</td>
        </tr>

        <s:iterator var="student" value="#request.studentList" status="st">
            <tr>
                <td><s:property value="#st.count"></s:property></td>
                <td><s:property value="#student.name"></s:property></td>
                <td><s:property value="#student.className"></s:property></td>
                <td><s:property value="#student.address"></s:property></td>
                <td><s:property value="#student.phone"></s:property></td>
            </tr>
        </s:iterator>
    </table>

</body>
</html>
